package cn.echogo.framework.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class DebugFragment extends Fragment {

	protected final String tag = getClass().getSimpleName();

	@Override
	public void onAttach(Activity activity) {
		Log.v(tag, "onAttach()");
		super.onAttach(activity);
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		Log.v(tag, "onCreate()");
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		Log.v(tag, "onCreateView()");
		return super.onCreateView(inflater, container, savedInstanceState);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		Log.v(tag, "onActivityCreated()");
		super.onActivityCreated(savedInstanceState);
	}

	@Override
	public void onStart() {
		Log.v(tag, "onStart()");
		super.onStart();
	}

	@Override
	public void onResume() {
		Log.v(tag, "onResume()");
		super.onResume();
	}

	@Override
	public void onPause() {
		Log.v(tag, "onPause()");
		super.onPause();
	}

	@Override
	public void onStop() {
		Log.v(tag, "onStop()");
		super.onStop();
	}

	@Override
	public void onDestroyView() {
		Log.v(tag, "onDestroyView()");
		super.onDestroyView();
	}

	@Override
	public void onDestroy() {
		Log.v(tag, "onDestroy()");
		super.onDestroy();
	}

	@Override
	public void onDetach() {
		Log.v(tag, "onDetach()");
		super.onDetach();
	}

}
